# -*- codeing = utf-8 -*-
# @Time : 2021/2/20 14:33
# @Atuthor: 朱朱
# @File: 011字符串的拼接.py
# @Software: PyCharm
msg = '我是快乐的程序汪'

"""
join()      把参数进行遍历,取出参数里的每一项,然后再在后面加上字符串,最后一个保留
            可以把列表或元组快速转变成字符串
"""

print(msg.join('1-,'))
txt='_'
list = ['hi','you','good']
print(txt.join(list))